package com.yang.code_sample.performance_count.service.impl;

import com.yang.code_sample.performance_count.entity.RequestInfo;
import com.yang.code_sample.performance_count.service.MetricsStorage;

import java.util.List;
import java.util.Map;

/**
 * @Description: Redis储存接口请求规则数据实现类
 * @Author: 杨 强
 * @CreateTime: 2022-10-13 17:10
 */
public class RedisMetricsStorage implements MetricsStorage {
    @Override
    public void saveRequestInfo(RequestInfo requestInfo) {

    }

    @Override
    public List<RequestInfo> getRequestInfos(String apiName, long startTimeInMillis, long endTimeInMillis) {
        return null;
    }

    @Override
    public Map<String, List<RequestInfo>> getRequestInfos(long startTimeInMillis, long endTimeInMillis) {
        return null;
    }
}
